<!-- 批量分配客服弹窗 - 已隐藏 -->
<!-- <template>
  <el-dialog :model-value="visible" title="批量分配客服" width="400px" @close="$emit('close')" @update:model-value="onDialogUpdate">
    <el-form>
      <el-form-item label="分配给">
        <el-select v-model="selectedAssignee" placeholder="请选择客服">
          <el-option v-for="a in assignees" :key="a.value" :label="a.label" :value="a.value" />
        </el-select>
      </el-form-item>
    </el-form>
    <template #footer>
      <el-button @click="$emit('close')">取消</el-button>
      <el-button type="primary" :disabled="!selectedAssignee" @click="onConfirm">确定</el-button>
    </template>
  </el-dialog>
</template> -->
<!-- 批量分配客服弹窗脚本 - 已隐藏 -->
<!-- <script setup lang="ts">
import { ref, watch } from 'vue'
const props = defineProps({
  visible: { type: Boolean, required: true },
  assignees: { type: Array, required: true }
})
const emit = defineEmits(['confirm', 'close'])
const selectedAssignee = ref('')
watch(() => props.visible, v => { if (v) selectedAssignee.value = '' })
function onConfirm() {
  emit('confirm', selectedAssignee.value)
}
function onDialogUpdate(val: boolean) {
  if (!val) emit('close')
}
</script> --> 